//
// Created by wsl on 2024/10/26.
//

#ifndef YM_LED_H
#define YM_LED_H

#define LIGHT_GPIO_x                    GPIOA
#define LIGHT_GPIO_Pin                  (GPIO_Pin_3)
#define WARNING_LIGHT_GPIO_x            GPIOC
#define WARNING_LIGHT_GPIO_Pin          (GPIO_Pin_13)


typedef enum {
    LED_ON = 0,
    LED_OFF = 1
} LED_State;


void LED_Init(void);
void LIGHT_SetState(LED_State state);
LED_State LIGHT_GetState(void);
void LIGHT_ReverseState(void);
void WarningLight_SetState(LED_State state);


#endif //YM_LED_H
